<commit_before>//
//  object.cpp
//  alisp
//
//  Created by <NAME> on 10/3/11.
//  Copyright (c) 2011 Catalpa Labs. All rights reserved.
//

#include <iostream>
#include <string>
#include <sstream>
#include "object.h"
#include "mother.h"

Object::Object() : marked_(false), noGC_(false) {
  Mother::instance().recordAllocation(this);
}

const char *Object::type() {
  return "OBJECT";
}

const char *Object::print() {
  std::ostringstream oss;
  print(oss);
  return oss.str().c_str();
}

bool Object::mark() {
  if (!marked_) {
    std::cout << "Marking " << print() << std::endl;
    marked_ = true;
    return true;
  }
  return false;
}

void Object::clearMark() {
  std::cout << "Clearing mark on " << print() << std::endl;
  marked_ = false;
}

bool Object::marked() {
  return marked_ || noGC_;
}

void Object::setNoGC(bool noGC) {
  noGC_ = noGC;
}<commit_msg>temporarily removing references to move from object.cpp<commit_after>//
//  object.cpp
//  alisp
//
//  Created by <NAME> on 10/3/11.
//  Copyright (c) 2011 Catalpa Labs. All rights reserved.
//

#include <iostream>
#include <string>
#include <sstream>
#include "object.h"
#include "mother.h"

//Object::Object() : marked_(false), noGC_(false) {
//  Mother::instance().recordAllocation(this);
//}

const char *Object::type() {
  return "OBJECT";
}

const char *Object::print() {
  std::ostringstream oss;
  print(oss);
  return oss.str().c_str();
}

/*
bool Object::mark() {
  if (!marked_) {
    std::cout << "Marking " << print() << std::endl;
    marked_ = true;
    return true;
  }
  return false;
}

void Object::clearMark() {
  std::cout << "Clearing mark on " << print() << std::endl;
  marked_ = false;
}

bool Object::marked() {
  return marked_ || noGC_;
}

void Object::setNoGC(bool noGC) {
  noGC_ = noGC;
}
*/
{'fraction_non_alphanumeric': 0.18917410714285715, 'fraction_numerical': 0.010044642857142858, 'mean_word_length': 3.645077720207254, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 11, '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': '2682662', 'n_tokens_mistral': 676, 'n_tokens_neox': 648, 'n_words': 160}