Skip to main content

Timeline for Another iteration of Alien Language

Current License: CC BY-SA 3.0

20 events
when toggle format what by license comment
Mar 26, 2013 at 4:39 comment added James Khoury That is amazing. You should update your answer. I'd still like to know if you worked out the difference between python and c#
Mar 21, 2013 at 10:55 comment added cat_baxter 2 times faster version uses multiline regexpr search: pastebin.com/W5ktwpN4
Mar 21, 2013 at 3:41 comment added James Khoury I've updated the gist with a couple of minor improvements but the only thing that I can see is that the python script doesn't write to a file. Could that be the reason you're seeing a difference?
Mar 20, 2013 at 10:24 comment added cat_baxter I've updated the python solution, now it takes 1.4 sec vs 3.4 seconds (your multithreaded solution) on my C2D cpu.
Mar 20, 2013 at 10:21 history edited cat_baxter CC BY-SA 3.0
added 8 characters in body
Mar 19, 2013 at 22:31 comment added James Khoury I cleaned out all my debugging statements and put up a gist gist.github.com/JamesKhoury/5200737
Mar 19, 2013 at 22:23 comment added James Khoury That would be the way its implemented. My c# version takes a lot less (about 1.5 seconds)
Mar 19, 2013 at 11:27 comment added cat_baxter Interesting to compare performance: 2 seconds (python 2.7) vs 7 seconds (C#) on A-large-practice.in :)
Mar 19, 2013 at 0:43 vote accept James Khoury
Mar 19, 2013 at 0:39 comment added James Khoury Also edited the c# example so it would closer match code for anyone else looking to use it. Hope you don't mind.
Mar 19, 2013 at 0:38 history edited James Khoury CC BY-SA 3.0
Altered the c# example to reflect the actual solution better.
Mar 19, 2013 at 0:33 comment added James Khoury I didn't think a Regex would be quicker but it is noticeably quicker. More importantly it is correct!
Mar 18, 2013 at 10:42 history edited cat_baxter CC BY-SA 3.0
added 786 characters in body
Mar 18, 2013 at 10:41 comment added cat_baxter Never used C#, but...
Mar 18, 2013 at 2:50 comment added James Khoury While I can read (and enjoy writing) python, could you write this in c#?
Mar 15, 2013 at 10:16 comment added cat_baxter Sure, I've updated the answer with pseudo code in python.
Mar 15, 2013 at 9:59 history edited cat_baxter CC BY-SA 3.0
added 443 characters in body
Mar 14, 2013 at 23:07 comment added James Khoury Can you elaborate? With some sample code?
Mar 14, 2013 at 15:54 history edited cat_baxter CC BY-SA 3.0
added 263 characters in body
Mar 14, 2013 at 15:25 history answered cat_baxter CC BY-SA 3.0