meh` changed the topic of #opal to: http://opalrb.org - Ruby runtime and library on top of Javascript | 1.0.0 is near | This channel is logged at https://botbot.me/freenode/opal/
j_mcnally has quit [Read error: Connection reset by peer]
wmnnd has quit [Ping timeout: 260 seconds]
j_mcnally has joined #opal
wmnnd has joined #opal
f-3r has quit [Ping timeout: 265 seconds]
elia has quit [Quit: Computer has gone to sleep.]
f-3r has joined #opal
wmnnd has quit [Ping timeout: 245 seconds]
f-3r has quit [Ping timeout: 258 seconds]
meh` has quit [Ping timeout: 240 seconds]
elia has joined #opal
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gawaine has joined #opal
<adambeynon> morning elia: why is using toString() for String#hash() a problem?
gawaine has left #opal [#opal]
wmnnd has joined #opal
j_mcnally has joined #opal
j_mcnally has quit [Ping timeout: 244 seconds]
<elia> adambeynon, morning, I initially tried normalizing String#hash too (as "String:"+self.toString())
<elia> the concern is about collisions
gawaine has joined #opal
<elia> wella gawaine !
<adambeynon> elia: ah yeah, forgot about the clashes
<elia> adambeynon, yes, any prefix we can think of is inevitably subject to collisions, an alternative would be to have bags of hashes (via st like weakmaps) or using the same algoriths as cruby/rubinius and render the integer to hex or something
meh` has joined #opal
elia has quit [Quit: (IRC Client: textualapp.com)]
elia has joined #opal
<adambeynon> elia: well, I think it is fair to say that strings/symbols are the most common keys, so we could have two tables, one for strings, and one for anything else
<adambeynon> a very quick (and fast) typeof(key) === “string” would be a simple check
<elia> adambeynon, would also make sense performance wise I think
<elia> adambeynon, so would be something like def[] k; `k.$$is_string ? self.smap[k] : self.map[k.$hash()]` end ?
<adambeynon> elia: yeap, exactly that
e_dub has quit [Quit: ZZZzzz…]
<elia> k, sounds good; IMO should be a different PR
<elia> cc meh` ^^^
f-3r has joined #opal
<meh`> fine by me
f-3r has quit [Ping timeout: 258 seconds]
elia has quit [Ping timeout: 255 seconds]
e_dub has joined #opal
elia has joined #opal
meh` has quit [Ping timeout: 244 seconds]
f-3r has joined #opal
GitHub133 has joined #opal
<GitHub133> [opal] elia force-pushed hash-hash from 62e07f3 to 737d522: http://git.io/BnPiqQ
<GitHub133> opal/hash-hash d30bc16 Elia Schito: Use #hash to generate internal Hash map keys
<GitHub133> opal/hash-hash eb11f53 Elia Schito: Improve Array#hash implementation...
GitHub133 has left #opal [#opal]
<GitHub133> opal/hash-hash 7884e88 Elia Schito: Explicitly set nil’s object_id...
travis-ci has joined #opal
<travis-ci> opal/opal#2071 (hash-hash - 737d522 : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
travis-ci has joined #opal
<travis-ci> opal/opal#2071 (hash-hash - 737d522 : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<travis-ci> opal/opal#2071 (hash-hash - 737d522 : Elia Schito): The build passed.
j_mcnally has joined #opal
wmnnd has quit [Ping timeout: 265 seconds]
wmnnd has joined #opal
elia has quit [Quit: (IRC Client: textualapp.com)]
elia has joined #opal
<elia> adambeynon, ok if I merge gh#628? ^
<[o__o]> Use #hash to build Hash hash-tables #️⃣: https://github.com/opal/opal/pull/628
f-3r has quit [Read error: Connection reset by peer]
gawaine has quit [Quit: Leaving]
ryanstout has joined #opal
wmnnd has quit [Read error: Connection reset by peer]
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #opal
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GitHub113 has joined #opal
<GitHub113> [opal] elia pushed 1 new commit to hash-hash: http://git.io/E2KPwQ
GitHub113 has left #opal [#opal]
<GitHub113> opal/hash-hash f11882b Elia Schito: Use opal/rubyspec as the corelib specs gitmodule
travis-ci has joined #opal
<travis-ci> opal/opal#2072 (hash-hash - f11882b : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
elia has quit [Quit: Computer has gone to sleep.]
j_mcnally has joined #opal
travis-ci has joined #opal
<travis-ci> opal/opal#2072 (hash-hash - f11882b : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
ceej has quit [Ping timeout: 244 seconds]
ceej has joined #opal
meh` has joined #opal
ryanstout has quit [Quit: ryanstout]
boberetezeke-clo has quit [Ping timeout: 244 seconds]
boberetezeke-clo has joined #opal
elia has joined #opal
GitHub109 has joined #opal
<GitHub109> [opal] elia pushed 1 new commit to master: http://git.io/LGbZMw
<GitHub109> opal/master dbc1bd8 Elia Schito: Merge pull request #628 from opal/hash-hash...
GitHub109 has left #opal [#opal]
GitHub145 has joined #opal
GitHub145 has left #opal [#opal]
<GitHub145> [opal] elia deleted hash-hash at f11882b: http://git.io/AwLqeA
travis-ci has joined #opal
<travis-ci> opal/opal#2073 (master - dbc1bd8 : Elia Schito): The build was fixed.
travis-ci has left #opal [#opal]
elia has quit [Ping timeout: 272 seconds]
elia has joined #opal
elia has quit [Read error: Connection reset by peer]
elia has joined #opal
elia has quit [Read error: Connection reset by peer]
elia has joined #opal
_elia has joined #opal
elia has quit [Ping timeout: 250 seconds]
elia has joined #opal
_elia has quit [Ping timeout: 265 seconds]
_elia has joined #opal
elia has quit [Ping timeout: 258 seconds]
e_dub has quit [Quit: ZZZzzz…]
elia has joined #opal
_elia has quit [Read error: Connection reset by peer]
elia has quit [Ping timeout: 245 seconds]
elia has joined #opal
GitHub139 has joined #opal
<GitHub139> [opal] elia pushed 1 new commit to master: http://git.io/i8pbTw
<GitHub139> opal/master f6928bb Elia Schito: Add some Pathname methods
GitHub139 has left #opal [#opal]
GitHub120 has joined #opal
<GitHub120> [opal] elia pushed 3 new commits to master: http://git.io/8joTkg
<GitHub120> opal/master faad291 Elia Schito: Prefer Opal over $opal
<GitHub120> opal/master 5c40704 Elia Schito: Use latest Ruby 2.1
<GitHub120> opal/master 1b1ad8d Elia Schito: Use the faster mspec_node for the main test...
GitHub120 has left #opal [#opal]
elia has quit [Ping timeout: 256 seconds]
travis-ci has joined #opal
<travis-ci> opal/opal#2074 (master - f6928bb : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
_elia has joined #opal
_elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
e_dub has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elia has joined #opal
elia has quit [Client Quit]