<commit_before>#include "render/RenderList.h"

#include "render/Render.h"

using fei::RenderList;

#define MAX_RENDERLIST_SIZE 1000

std::vector<std::vector<int>> RenderList::dag_(MAX_RENDERLIST_SIZE);
std::vector<int> RenderList::ind_(MAX_RENDERLIST_SIZE);

RenderList::~RenderList()
{
	garbageRecycle();
}

void RenderList::listInit()
{
	for (auto renderObj : _objList) {
		renderObj->feiInit();
	}
}

void RenderList::listDestroy()
{
	for (auto it = _objList.rbegin(); it != _objList.rend(); ++it) {
		(*it)->feiDestroy();
	}
}

void RenderList::listUpdate()
{
	auto tmpList = _objList;
	for (auto renderObj : tmpList) {
		renderObj->feiUpdate();
	}
}

void RenderList::listDraw()
{
	for (auto it = _objList.rbegin(); it != _objList.rend(); ++it) {
		if (!(*it)->hasAlpha()) {
			fei::Render::IndependentDraw(*it);
		}<commit_msg>update RenderList::listDestroy<commit_after>#include "render/RenderList.h"

#include "render/Render.h"

using fei::RenderList;

#define MAX_RENDERLIST_SIZE 1000

std::vector<std::vector<int>> RenderList::dag_(MAX_RENDERLIST_SIZE);
std::vector<int> RenderList::ind_(MAX_RENDERLIST_SIZE);

RenderList::~RenderList()
{
	garbageRecycle();
}

void RenderList::listInit()
{
	for (auto renderObj : _objList) {
		renderObj->feiInit();
	}
}

void RenderList::listDestroy()
{
	auto tmpList = _objList;
	for (auto it = tmpList.rbegin(); it != tmpList.rend(); ++it) {
		(*it)->feiDestroy();
	}
}

void RenderList::listUpdate()
{
	auto tmpList = _objList;
	for (auto renderObj : tmpList) {
		renderObj->feiUpdate();
	}
}

void RenderList::listDraw()
{
	for (auto it = _objList.rbegin(); it != _objList.rend(); ++it) {
		if (!(*it)->hasAlpha()) {
			fei::Render::IndependentDraw(*it);
		}
{'fraction_non_alphanumeric': 0.18394844756883422, 'fraction_numerical': 0.0046865846514352666, 'mean_word_length': 5.859437751004016, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, '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': '6485501', 'n_tokens_mistral': 672, 'n_tokens_neox': 661, 'n_words': 112}