00:27:49  * c4miloquit (Remote host closed the connection)
00:34:40  * c4milojoined
00:38:00  * C-Manquit (Quit: Connection reset by beer)
00:40:26  * [[zz]]quit (Ping timeout: 255 seconds)
00:55:15  * [[zz]]joined
01:54:08  * carifquit (Quit: Ex-Chat)
02:50:39  * carifjoined
02:58:21  * carifquit (Quit: Ex-Chat)
03:29:30  * qenghoquit (Read error: Operation timed out)
03:31:42  * qenghojoined
03:55:27  * c4miloquit (Remote host closed the connection)
04:27:27  * mbroadstquit (Ping timeout: 260 seconds)
04:40:13  * mbroadstjoined
06:11:39  * xan_joined
06:29:02  * olalondejoined
06:29:19  <olalonde>are object property look ups done in constant time?
06:29:42  <olalonde>does anyone know?
06:29:55  <olalonde>I assume it uses a hash internally so probably yes
06:31:46  <mraleph>well, constant time does not mean fast :-) also hash has constant time lookup on average.
06:32:31  <mraleph>V8 does not use hash internally, unless really forced too. because hash would be too slow.
06:32:49  <mraleph>and not space efficient.
06:32:59  <olalonde>ok
06:33:24  <mraleph>olalonde: http://s3.mrale.ph/nodecamp.eu/#41
06:33:36  <olalonde>im just wondering if my lookups will be slower if i have thousands of properties
06:33:50  <olalonde>what does it use internally?
06:34:03  <mraleph>for thousand properties it will be hash
06:34:13  <olalonde>ok cool
06:34:53  <mraleph>for small objects it tries to make it like a structure, so that a.b is no different than accessing a member of a class in a statically typed language
06:35:26  <olalonde>I see
06:35:51  <olalonde>why doesn't that work with thousands of properties?
06:36:28  <mraleph>because usually there are no such huge structures?
06:36:40  <mraleph>so if you have 1000 properties you really want dictionary :-)
06:37:10  <mraleph>also for structure like representation lookups that do a[k] with a variable k that is not constant string are somewhat slower.
06:37:28  <olalonde>i see
06:37:59  * C-Manjoined
06:38:01  <mraleph>it's all heuristics obviously because JavaScript does not have a proper separation between dictionaries and objects
06:38:29  <mraleph>(or did not have until ES6, which is still draft and even after it people will continue to use objects as dictionaries)
06:38:33  <olalonde>right
06:38:57  <mraleph>anyway, afk
06:39:00  <olalonde>I didn't know dictionaries were coming to Javascript
06:39:06  <olalonde>ok, thanks for helping.
06:39:54  <mraleph>Map, Set and WeakMap: see http://people.mozilla.org/~jorendorff/es6-draft.html#sec-15.14
06:40:17  <mraleph>now truly afk
06:49:43  * xan_quit (Ping timeout: 264 seconds)
06:51:00  * xan_joined
07:06:12  * olalondequit (Quit: olalonde)
07:09:00  * juanjosanchezjoined
07:20:02  * Lethalmanjoined
07:32:09  * juanjosanchezquit (Read error: Operation timed out)
07:34:35  * guorquit (Read error: No route to host)
07:53:45  * juanjosanchezjoined
08:12:56  * juanjosanchezquit (Quit: Leaving)
08:18:40  * carifjoined
08:45:53  * Net147joined
08:56:34  * carifquit (Ping timeout: 246 seconds)
09:17:01  * carifjoined
09:17:09  * carifquit (Remote host closed the connection)
09:50:46  * Vbitzjoined
09:50:49  * Vbitzquit (Max SendQ exceeded)
09:51:31  * Vbitzjoined
11:04:17  * bnoordhuisjoined
11:22:54  * xan_quit (Ping timeout: 240 seconds)
12:02:55  * carifjoined
12:03:09  * carifquit (Read error: Connection reset by peer)
12:13:27  * xan_joined
13:05:48  * Net147quit (Quit: HydraIRC -> http://www.hydrairc.com <- *I* use it, so it must be good!)
13:31:43  * c4milojoined
13:37:03  * Vbitzquit (Quit: Computer has gone to sleep.)
14:06:09  * C-Manquit (Quit: Connection reset by beer)
14:10:53  * juanjosanchezjoined
14:31:22  * olalondejoined
14:34:32  * asrailjoined
14:48:01  * bnoordhuisquit (Ping timeout: 276 seconds)
14:58:28  * c4miloquit (Remote host closed the connection)
15:04:58  * c4milojoined
15:38:09  * RT|Chatzillaquit (Quit: ChatZilla 0.9.86.1 [Firefox 2.0.0.22pre/2009081014])
16:32:28  * Lethalmanquit (Remote host closed the connection)
16:55:45  * bnoordhuisjoined
17:18:14  * bnoordhuisquit (Ping timeout: 252 seconds)
17:39:33  * ctrutajoined
17:49:01  * juanjosanchezquit (Ping timeout: 240 seconds)
18:10:55  * juanjosanchezjoined
18:11:53  * Lethalmanjoined
18:19:09  * C-Manjoined
18:27:46  * carifjoined
18:28:48  * lostcquit (Quit: leaving)
18:38:09  * carifquit (Quit: Ex-Chat)
19:05:40  * phajdan-jrjoined
19:05:51  <phajdan-jr>new builds stopped on master.client.v8 in preparation for restart
19:23:31  * Lethalman_joined
19:26:23  * Lethalmanquit (Ping timeout: 245 seconds)
19:31:09  <phajdan-jr>master.client.v8 restarted
19:56:38  * ELLIOTTCABLEchanged nick to purr
19:57:37  * purrchanged nick to ELLIOTTCABLE
20:12:17  * carifjoined
20:34:51  * Lethalman_quit (Ping timeout: 260 seconds)
20:42:39  * kanzurejoined
20:42:48  * kanzurepart
20:51:21  * carifquit (Quit: Ex-Chat)
21:54:27  * bnoordhuisjoined
22:16:24  * juanjosanchezquit (Quit: Leaving)
22:20:13  * RT|Chatzillajoined
22:23:49  * ctrutaquit (Ping timeout: 252 seconds)
23:11:11  * asrailquit (Ping timeout: 260 seconds)
23:12:48  * c4miloquit (Remote host closed the connection)
23:26:23  * bnoordhuisquit (Ping timeout: 245 seconds)
23:58:13  * asrailjoined