[parrot/parrot] 06042d: cleanup and simplify Parrot_api_load_bytecode_file
noreply at github.com
noreply at github.com
Sat Jun 11 02:05:21 UTC 2011
Branch: refs/heads/master
Home: https://github.com/parrot/parrot
Commit: 06042d4b23c9a59495eaccf44de550f570d9c5c7
https://github.com/parrot/parrot/commit/06042d4b23c9a59495eaccf44de550f570d9c5c7
Author: Whiteknight <wknight8111 at gmail.com>
Date: 2011-06-10 (Fri, 10 Jun 2011)
Changed paths:
M src/embed/bytecode.c
M src/packfile/api.c
Log Message:
-----------
cleanup and simplify Parrot_api_load_bytecode_file
Commit: 92d2dd0f9f38b8214836e7db045626b4dfdb30ad
https://github.com/parrot/parrot/commit/92d2dd0f9f38b8214836e7db045626b4dfdb30ad
Author: Whiteknight <wknight8111 at gmail.com>
Date: 2011-06-10 (Fri, 10 Jun 2011)
Changed paths:
M frontend/pbc_merge/main.c
Log Message:
-----------
when there is a functon which does everything you need but does one thing you don't need, do you (A) rewrite the function, almost verbatim, minus the one part you don't want or (B) refactor things and reuse code. old way was A. My way is B. Don't duplicate code in pbc_merge for loading packfiles
Compare: https://github.com/parrot/parrot/compare/0691760...92d2dd0
More information about the parrot-commits
mailing list