Skip to content

Bigarray storage tweak#1121

Merged
xavierleroy merged 2 commits intoocaml:trunkfrom
murmour:bigarray-storage-tweak
Mar 26, 2017
Merged

Bigarray storage tweak#1121
xavierleroy merged 2 commits intoocaml:trunkfrom
murmour:bigarray-storage-tweak

Conversation

@murmour
Copy link
Contributor

@murmour murmour commented Mar 24, 2017

In comments to the recently merged #71 @alainfrisch pointed out that perhaps it'd suffice to use plain malloc and free inside Bigarray instead of the more complicated caml_stat_*. I have validated his suggestion, and this patch implements it.

No separate Changes entry is needed, as it's merely a fixup to #71.

murmour added 2 commits March 25, 2017 01:15
The allocated memory blocks are freed in the custom block finaliser,
so it isn't necessary to use a more complicated memory manager.
@xavierleroy
Copy link
Contributor

Looks good to me! Merging right now...

@xavierleroy xavierleroy merged commit 21f9471 into ocaml:trunk Mar 26, 2017
@murmour murmour deleted the bigarray-storage-tweak branch March 28, 2017 20:08
EmileTrotignon pushed a commit to EmileTrotignon/ocaml that referenced this pull request Jan 12, 2024
…AML (ocaml#1121)

When changing the YAML parsing in watch.ml to use the yoshi tool,
watch.yaml was turned into a list of watch entries, instead of
this list being part of a struct.

watch_scrape.ml was not updated accordingly. This patch updates
watch_scrape.ml to emit a YAML list of watch entries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants