[parrot/parrot] 8ea358: eliminate PackFile_Annotations_Group

noreply at github.com noreply at github.com
Tue Jan 25 19:09:52 UTC 2011


Branch: refs/heads/annotations-tree
Home:   https://github.com/parrot/parrot

Commit: 8ea35874bebcb9e622159f6c963466cdf588e35a
    https://github.com/parrot/parrot/commit/8ea35874bebcb9e622159f6c963466cdf588e35a
Author: Peter Lobsinger <plobsing at gmail.com>
Date:   2011-01-25 (Tue, 25 Jan 2011)

Changed paths:
  M compilers/imcc/pbc.c
  M include/parrot/packfile.h
  M src/packfile/api.c
  M src/pmc/packfileannotations.pmc

Log Message:
-----------
eliminate PackFile_Annotations_Group

this was an attempt to paper-over the cost of linear-scan annotations lookup by
adding another linear-scan to the annotations lookup. two wrong solutions do not
make a right. thankfully it was never used.


Commit: 830a2b52371c6b6b951e1b695cb43a0437f8b2ce
    https://github.com/parrot/parrot/commit/830a2b52371c6b6b951e1b695cb43a0437f8b2ce
Author: Peter Lobsinger <plobsing at gmail.com>
Date:   2011-01-25 (Tue, 25 Jan 2011)

Changed paths:
  M compilers/imcc/pbc.c
  M include/parrot/packfile.h
  M src/packfile/api.c
  M src/pmc/packfileannotation.pmc
  M src/pmc/packfileannotations.pmc

Log Message:
-----------
reimplement annotations for efficient load and lookup

This uses a set of sorted annotations lists of entries (one per annotation key),
which can be binary-searched to identify the active annotation. Also avoid
costly allocations by using the segment data as the storage for the entries
(similar to how bytecode does). The downside is that creating these sorted
lists may be costly.


Commit: 019a2c443c762a8d666635ddc68e5e8e9ddab1d1
    https://github.com/parrot/parrot/commit/019a2c443c762a8d666635ddc68e5e8e9ddab1d1
Author: Peter Lobsinger <plobsing at gmail.com>
Date:   2011-01-25 (Tue, 25 Jan 2011)

Changed paths:
  M t/tools/pbc_dump.t

Log Message:
-----------
remove numval annotation from test - it got removed in the mix


Commit: 3a3c9df2d0c7d43a695f4f4b5379166d9b204f5a
    https://github.com/parrot/parrot/commit/3a3c9df2d0c7d43a695f4f4b5379166d9b204f5a
Author: Peter Lobsinger <plobsing at gmail.com>
Date:   2011-01-25 (Tue, 25 Jan 2011)

Changed paths:
  M src/packfile/api.c
  M src/pmc/packfileannotation.pmc
  M src/pmc/packfileannotations.pmc

Log Message:
-----------
get PackfileAnnotations PMC working with new annotations algorithm

PMC now dispatches to packfile API as it should


Commit: ba0df3a28e3e811417250778df19ed4023246e1e
    https://github.com/parrot/parrot/commit/ba0df3a28e3e811417250778df19ed4023246e1e
Author: Peter Lobsinger <plobsing at gmail.com>
Date:   2011-01-25 (Tue, 25 Jan 2011)

Changed paths:
  M t/pmc/packfileannotations.t

Log Message:
-----------
set offset for 'line' test data

ordering of duplicate entries at the same offset is not guarranteed to be preserved (and now isn't)


Commit: 77df95b3aa781622e9766fd33f8d58e5c4af58aa
    https://github.com/parrot/parrot/commit/77df95b3aa781622e9766fd33f8d58e5c4af58aa
Author: Peter Lobsinger <plobsing at gmail.com>
Date:   2011-01-25 (Tue, 25 Jan 2011)

Changed paths:
  M src/packfile/api.c

Log Message:
-----------
[codingstd] c_function_docs


Commit: 86363eb02372ccb338e9813234c679e15a714e5f
    https://github.com/parrot/parrot/commit/86363eb02372ccb338e9813234c679e15a714e5f
Author: Peter Lobsinger <plobsing at gmail.com>
Date:   2011-01-25 (Tue, 25 Jan 2011)

Changed paths:
  M include/parrot/packfile.h
  M src/packfile/api.c

Log Message:
-----------
headerizer




More information about the parrot-commits mailing list