Conversation with #inferno at Fri Apr 22 01:47:37 2011 on powerman-asdf@irc.freenode.net (irc) (03:21:45) josephholsten [~josephhol@66.210.206.32] entered the room. (03:26:28) josephholsten left the room (quit: Client Quit). (03:42:31) josephholsten [~josephhol@66.210.206.32] entered the room. (03:50:38) powerman: that's very strange. adding a lot of no-op's speedup limbo in about 1-2% (03:51:08) powerman: i've a code which parse string, and looking for quoted chars, something like that: (03:51:41) powerman: for(; pos < buflen && buf[pos] != byte '"'; pos++) (03:51:41) powerman: if(buf[pos] == byte '\\'){ (03:51:41) powerman: pos++; (03:51:41) powerman: is_quoted = 1; (03:51:41) powerman: } (03:52:42) powerman: incoming data _does_not_ contain quoted chars, so if's condition never true and if body never execute (03:53:05) powerman: now, i'm adding about 20-30 more "is_quoted=1;" commands inside if block (03:53:16) powerman: and everything become 1-2% faster! (03:53:56) powerman: that have to be related to something like aligning of dis opcodes or something (03:54:01) powerman: but it's anyway very strange (04:11:40) josephholsten left the room (quit: Quit: josephholsten). (07:37:21) powerman: btw, I've managed to speedup json parsing (in ~3.7 times compared to json.m) in pure limbo by using different approach: writing (ease enough) custom adt to load data from json, using general helper module to get json tokens. (07:40:33) powerman: this also make it much ease to work with unserialized json, because all data in your own custom adt, instead of JValue (07:42:36) powerman: i'm going to see is it can be optimized even more with some C helper to scan strings or by implementing all module in C, add tests/doc and then I'll upload it to google code (09:08:35) robot12 [~kazzhilki@proxy10.ts.fujitsu.com] entered the room. (09:15:08) robot12 left the room (quit: Read error: Connection reset by peer). (09:21:52) robot12 [~kazzhilki@proxy10.ts.fujitsu.com] entered the room. (12:47:43) vsrinivas left the room (quit: Ping timeout: 248 seconds). (12:47:48) vsrinivas [U2FsdGVkX1@batman.acm.jhu.edu] entered the room. (14:31:19) GriffenJBS left the room (quit: Read error: Connection reset by peer). (14:35:12) GriffenJBS [~john@adsl-8-51-86.mia.bellsouth.net] entered the room. (14:47:55) Fish- left the room (quit: Quit: So Long, and Thanks for All the Fish). (14:48:02) Fish [~Fish@exo3753.pck.nerim.net] entered the room. (15:59:25) perdix [~mkhl@sxemacs/devel/perdix] entered the room. (16:46:42) perdix left the room (quit: Remote host closed the connection). (16:50:35) perdix [~mkhl@sxemacs/devel/perdix] entered the room. (16:59:33) anth_x [~a@adsl-99-40-132-132.dsl.bcvloh.sbcglobal.net] entered the room. (17:48:58) robot12 left the room (quit: Quit: Leaving.). (19:03:53) josephholsten [~josephhol@66.210.206.32] entered the room. (19:44:25) bvalek2 [59851514@gateway/web/freenode/ip.89.133.21.20] entered the room. (19:44:30) bvalek2 left the room (quit: Changing host). (19:44:30) bvalek2 [59851514@unaffiliated/bvalek2] entered the room. (19:44:30) bvalek2 left the room (quit: Changing host). (19:44:30) bvalek2 [59851514@gateway/web/freenode/ip.89.133.21.20] entered the room. (20:35:13) Fish- [~Fish@9fans.fr] entered the room. (20:35:19) josephholsten left the room (quit: Quit: josephholsten). (20:56:55) jibun [~jibun@dsl-trebrasgw1-fff0c300-37.dhcp.inet.fi] entered the room. (21:06:34) josephholsten [~josephhol@66.210.206.32] entered the room. (21:52:09) bvalek2 left the room (quit: Quit: Page closed). (21:52:38) anth_x is now known as plan9|anth (21:52:53) perdix left the room (quit: Remote host closed the connection). (21:54:48) perdix [~mkhl@sxemacs/devel/perdix] entered the room. (22:03:15) perdix left the room (quit: Remote host closed the connection). (22:22:56) plan9|anth is now known as anth_x (22:49:13) perdix [~mkhl@sxemacs/devel/perdix] entered the room. (00:10:40) josephholsten left the room (quit: Quit: josephholsten). (00:11:43) perdix left the room (quit: Ping timeout: 250 seconds). (01:08:21) Fish- left the room (quit: Quit: So Long, and Thanks for All the Fish). (01:46:52) The account has disconnected and you are no longer in this chat. You will be automatically rejoined in the chat when the account reconnects.