Timeline for Faster way to parse file to array, compare to array in second file, write final file
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 15, 2014 at 16:04 | vote | accept | user2277435 | ||
| Jul 15, 2014 at 15:22 | comment | added | user2277435 | Points taken, appreciated. Some of the temporary lists were from refactoring that weren't necessary anymore. You cannot use format on NoneType objects, gives an attribute error. This improves the readability, but is still not providing a performance increase. The main bottleneck is the parsing of the 10,000+ entries each time from 'path'. I'm thinking of a method to delete each matched entry from the file once found, every iteration would then be parsing an ever decreasing search space. Any other thoughts? | |
| Jul 15, 2014 at 13:59 | history | answered | SylvainD | CC BY-SA 3.0 |