<commit_before>#ifdef MALLOC_PROF
#include <google/tcmalloc.h>
#include <stdio.h>
#include <perfmon.hpp>

perfmon_duration_sampler_t pm_operator_new("operator_new", secs_to_ticks(1.0)),
                           pm_operator_delete("operator_delete", secs_to_ticks(1.0));

void* operator new(size_t size) {
    block_pm_duration set_timer(&pm_operator_new);
    return tc_new(size);       
}
void operator delete(void* p) __THROW {
    block_pm_duration set_timer(&pm_operator_delete);
    tc_delete(p);              
}
void* operator new[](size_t size) {
    block_pm_duration set_timer(&pm_operator_new);
    return tc_newarray(size);  
}
void operator delete[](void* p) __THROW {
    block_pm_duration set_timer(&pm_operator_delete);
    tc_deletearray(p);         
}
#endif
/* void* operator new(size_t size, const std::nothrow_t& nt) __THROW {
  return tc_new_nothrow(size, nt);
}
void* operator new[](size_t size, const std::nothrow_t& nt) __THROW {
  return tc_newarray_nothrow(size, nt);
}
void operator delete(void* ptr, const std::nothrow_t& nt) __THROW {
  return tc_delete_nothrow(ptr, nt);
}
void operator delete[](void* ptr, const std::nothrow_t& nt) __THROW {
  return tc_deletearray_nothrow(ptr, nt);
} */<commit_msg>Removed commented code in malloc.cc.<commit_after>#ifdef MALLOC_PROF
#include <google/tcmalloc.h>
#include <stdio.h>
#include <perfmon.hpp>

perfmon_duration_sampler_t pm_operator_new("operator_new", secs_to_ticks(1.0)),
                           pm_operator_delete("operator_delete", secs_to_ticks(1.0));

void* operator new(size_t size) {
    block_pm_duration set_timer(&pm_operator_new);
    return tc_new(size);       
}
void operator delete(void* p) __THROW {
    block_pm_duration set_timer(&pm_operator_delete);
    tc_delete(p);              
}
void* operator new[](size_t size) {
    block_pm_duration set_timer(&pm_operator_new);
    return tc_newarray(size);  
}
void operator delete[](void* p) __THROW {
    block_pm_duration set_timer(&pm_operator_delete);
    tc_deletearray(p);         
}
#endif
{'fraction_non_alphanumeric': 0.11638141809290954, 'fraction_numerical': 0.003911980440097799, 'mean_word_length': 4.456, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6365389', 'n_tokens_mistral': 741, 'n_tokens_neox': 737, 'n_words': 140}