aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-25Only Python 3Juan J. Martinez
2023-12-25New home out of GH0.8.2Juan J. Martinez
2023-12-25Moved homeJuan J. Martinez
2019-08-15Release 0.8.10.8.1Juan J. Martinez
2019-08-15Make clear this is Python 3 onlyJuan J. Martinez
2019-08-15FormattingJuan J. Martinez
2019-08-15Allow running main directlyJuan J. Martinez
2019-08-15Make errors a bit more user friendlyJuan J. Martinez
2019-08-15Fix: isfile is part of os.pathJuan J. Martinez
2019-08-15Release 0.8.00.8.0Juan J. Martinez
2019-08-11Removed periodJuan J. Martinez
2019-08-11Configuration file support (#17)Alexis Roda
2019-08-07Updated demoJuan J. Martinez
Fixes #15
2019-08-07Release 0.7.1Juan J. Martinez
2019-08-07Merge pull request #14 from patxoca/issue-11Juan J. Martínez
Fix issue 11
2019-08-07Fix regex for labels.Alexis Roda
SDCC also allows $ and dots in the labels.
2019-08-07Fix issue 11.Alexis Roda
2019-08-06Updated to current CLIJuan J. Martinez
2019-08-06More defaultsJuan J. Martinez
2019-08-06Clarify defaultsJuan J. Martinez
Because spaces is default, only add a flag to use tabs instead.
2019-08-06Information on how to make a releaseJuan J. Martinez
2019-08-06Release 0.7.00.7.0Juan J. Martinez
2019-08-06Fixed comment alignmentJuan J. Martinez
2019-08-06Improved comment alignment (#13)Alexis Roda
2019-08-04Clarified commentJuan J. Martinez
2019-08-04Missing comment after update is the defaultJuan J. Martinez
2019-08-04Changed update to not updateJuan J. Martinez
This makes updating the comments the default. Also some changes for PEP8. Closes issue #10.
2019-08-01Release 0.6.00.6.0Juan J. Martinez
2019-08-01Version bump for pypi0.5.4Juan J. Martinez
2019-08-01Make the gif available for PyPiJuan J. Martinez
2019-08-01Fix: bug accumulating cyclesAlexis Roda
Fixes issue #8
2019-07-27Added section 'Editor support' to README. (#7)Alexis Roda
2019-07-27Updated instructionsJuan J. Martinez
2019-07-27ASM source codeJuan J. Martinez
2019-07-27Use version from z80count package0.5.3Juan J. Martinez
2019-07-27Release 0.5.20.5.2Juan J. Martinez
2019-07-27Added pip instructionsJuan J. Martinez
2019-07-27Release 0.5.10.5.1Juan J. Martinez
2019-07-27Added long descriptionJuan J. Martinez
2019-07-27Merge pull request #4 from patxoca/masterJuan J. Martínez
Package z80count as a python distribution
2019-07-27Add 'etc' directory to 'MANIFEST.in'.Alexis Roda
2019-07-27Fix markdown.Alexis Roda
2019-07-27Make a python package.Alexis Roda
2019-07-26Merge pull request #1 from reidrac/masterAlexis Roda
Sync to reidrac/z80count
2019-07-26Smaller GIFJuan J. Martinez
2019-07-26Added authors0.5.0Juan J. Martinez
2019-07-26Merge pull request #2 from patxoca/masterJuan J. Martínez
Optimize opcode lookup
2019-07-26Improve PEP8 compliance.Alexis Roda
2019-07-26Compile regexes lazyly.Alexis Roda
Profiling shows that compiling the regexes takes most of the execution time. Compiling them when needed instead of compiling all of them upfront decreases execution time from 0.70 to 0.12 seconds. Ordered by: cumulative time ncalls tottime percall cumtime percall filename:lineno(function) 6/1 0.000 0.000 0.702 0.702 {built-in method builtins.exec} 1 0.001 0.001 0.702 0.702 z80count.py:24(<module>) 1 0.000 0.000 0.696 0.696 z80count.py:104(main) 1 0.000 0.000 0.692 0.692 z80count.py:65(__init__) 1 0.005 0.005 0.692 0.692 z80count.py:77(_load_table) 1888 0.001 0.000 0.680 0.000 re.py:232(compile) 1891 0.017 0.000 0.680 0.000 re.py:271(_compile) 1631 0.009 0.000 0.647 0.000 sre_compile.py:759(compile) 1631 0.006 0.000 0.325 0.000 sre_parse.py:919(parse) 3263/1631 0.008 0.000 0.312 0.000 sre_parse.py:417(_parse_sub) 1631 0.003 0.000 0.306 0.000 sre_compile.py:598(_code) 3266/1632 0.115 0.000 0.305 0.000 sre_parse.py:475(_parse) 16700/1631 0.112 0.000 0.246 0.000 sre_compile.py:71(_compile) 131243 0.061 0.000 0.086 0.000 sre_parse.py:164(__getitem__) 1631 0.007 0.000 0.057 0.000 sre_compile.py:536(_compile_info) 18331/3262 0.043 0.000 0.053 0.000 sre_parse.py:174(getwidth) 48041 0.018 0.000 0.047 0.000 sre_parse.py:254(get) 9741 0.030 0.000 0.039 0.000 sre_compile.py:276(_optimize_charset) 52307 0.033 0.000 0.033 0.000 sre_parse.py:233(__next) 13432 0.010 0.000 0.029 0.000 sre_compile.py:423(_simple) 173223/156520 0.021 0.000 0.026 0.000 {built-in method builtins.len} 237477 0.024 0.000 0.024 0.000 {method 'append' of 'list' objects} 142999 0.022 0.000 0.022 0.000 {built-in method builtins.isinstance} 9741 0.016 0.000 0.019 0.000 sre_compile.py:249(_compile_charset) 43579 0.014 0.000 0.018 0.000 sre_parse.py:160(__len__) 30678 0.010 0.000 0.014 0.000 sre_parse.py:172(append) 1631 0.001 0.000 0.012 0.000 sre_parse.py:96(closegroup) 1631 0.004 0.000 0.011 0.000 enum.py:827(__and__) 19310 0.009 0.000 0.011 0.000 sre_parse.py:286(tell) 35044 0.011 0.000 0.011 0.000 {built-in method builtins.min} 10767 0.007 0.000 0.010 0.000 sre_parse.py:343(_escape) 23891 0.006 0.000 0.008 0.000 sre_parse.py:249(match) 16701 0.008 0.000 0.008 0.000 sre_parse.py:111(__init__) 3270 0.003 0.000 0.006 0.000 enum.py:281(__call__)
2019-07-26Optimize table lookup.Alexis Roda
Instead of a flat table of regexes this implementation groups regexes by mnemonic, making lookup faster. The implementation is encaptulated in its own class "Parser".