Disable buffer compaction (#6199)

This commit is contained in:
Kaz Wesley 2023-04-04 09:16:50 -07:00 committed by GitHub
parent fb77f42fd5
commit 2e08f734d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,7 +155,8 @@ impl {
pub fn update(&mut self) {
debug_span!("Updating.").in_scope(|| {
if self.used_size * 2 < self.size() {
self.shrink_to_fit();
// FIXME
// self.shrink_to_fit();
}
if self.shape_dirty.check() {
for i in 0..self.buffers.len() {