unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* [BDW-GC] "Inlined" storage; `scm_take_' functions
@ 2009-09-01  0:14 Ludovic Courtès
  2009-09-01  0:48 ` Mike Gran
  2009-09-08 23:54 ` Neil Jerram
  0 siblings, 2 replies; 6+ messages in thread
From: Ludovic Courtès @ 2009-09-01  0:14 UTC (permalink / raw)
  To: guile-devel

Hello!

Stringbufs and bytevectors are now always "inlined" in the BDW-GC
branch [0, 1], which means that there's no cell->buffer indirection,
which greatly simplifies code (it also takes less room and may slightly
improve performance).

The `scm_take_' functions for strings/symbols/bytevectors are now
essentially aliases to the corresponding `scm_from_' because we cannot
advantageously reuse the provided storage.

Should these functions be deprecated or discouraged?

Thanks,
Ludo'.

[0] http://git.savannah.gnu.org/cgit/guile.git/commit/?h=boehm-demers-weiser-gc&id=ba54a2026beaadb4e7566d4b9e2c9e4c7cd793e6
[1] http://git.savannah.gnu.org/cgit/guile.git/commit/?h=boehm-demers-weiser-gc&id=0665b3ffcb7ec5232a51ff632a818a638dfd4054





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-09-09 21:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-01  0:14 [BDW-GC] "Inlined" storage; `scm_take_' functions Ludovic Courtès
2009-09-01  0:48 ` Mike Gran
2009-09-01  8:20   ` Ludovic Courtès
2009-09-08 23:54 ` Neil Jerram
2009-09-09  8:03   ` Ludovic Courtès
2009-09-09 21:38     ` Neil Jerram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).