create account

RE: Good programmer 4 - 설계하고 테스트하기 by gyeryak

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @agile/2sjnlu-good-programmer-3

· @gyeryak ·
C++에서의 STL도 유용한데, 이게 허점이랄만한 것도 있는 것 같습니다.
unsigned int로 선언되어서 음수가 불가능한 경우라던지, 
의외로 시간복잡도가 O(N)이라서 반복문 안에 넣으면 실제로는 이중반복문의 시간복잡도를 가지게 되는 경우도 있다고 하더라고요.

그보다 람다식에 관해서 개인적인 의문점이 있습니다.
람다식을 작성하면 컴파일 시간이랑 동작 시간이 길어진다는 얘기가 있던데, 어느 정도인가요? (너무 애매한 질문이긴 하지만...)
properties (22)
authorgyeryak
permlinkre-agile-2sjnlu-good-programmer-3-20170726t092328497z
categorykr-dev
json_metadata{"tags":["kr-dev"],"app":"steemkr/0.1"}
created2017-07-26 09:23:33
last_update2017-07-26 09:23:33
depth1
children2
last_payout2017-08-02 09:23:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length251
author_reputation1,325,621,375,112
root_title"Good programmer 4 - 설계하고 테스트하기"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id9,772,132
net_rshares0
@agile ·
람다식 쓴다고 동작시간이 길어질 것 같지는 않은데요.
함수가 여러번 쓰이는 경우 람다 함수로 만들지 않겠지요?
properties (22)
authoragile
permlinkre-gyeryak-re-agile-2sjnlu-good-programmer-3-20170803t175446638z
categorykr-dev
json_metadata{"tags":["kr-dev"],"app":"steemit/0.1"}
created2017-08-03 17:54:48
last_update2017-08-03 17:54:48
depth2
children1
last_payout2017-08-10 17:54:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length61
author_reputation879,680,857,135
root_title"Good programmer 4 - 설계하고 테스트하기"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id10,668,737
net_rshares0
@gyeryak ·
으음... 그렇군요. 답변 감사합니다 :)
properties (22)
authorgyeryak
permlinkre-agile-re-gyeryak-re-agile-2sjnlu-good-programmer-3-20170804t092352727z
categorykr-dev
json_metadata{"tags":["kr-dev"],"app":"steemkr/0.1"}
created2017-08-04 09:24:00
last_update2017-08-04 09:24:00
depth3
children0
last_payout2017-08-11 09:24:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length23
author_reputation1,325,621,375,112
root_title"Good programmer 4 - 설계하고 테스트하기"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id10,731,681
net_rshares0