<commit_before><!-- Comment markers background: http://stackoverflow.com/a/14776780/953022 -->
<div class="container container-wide">
<div class="upload_thumbnails"><!--
	<?php foreach($items as $key => $item): ?>
		--><a <?php if (strpos($item["mimetype"], "image/") === 0) {?>rel="gallery" class="colorbox"<?php } ?> data-orientation="<?php echo $item["orientation"]; ?>" href="<?php echo site_url("/".$item["id"])."/"; ?>" title="<?php echo htmlentities($item["filename"]); ?>" data-content="<?php echo htmlentities($item["tooltip"]); ?>" data-id="<?php echo $item["id"]; ?>"><img class="thumb lazyload" data-original="<?php echo site_url("file/thumbnail/".$item["id"]); ?>"><noscript><img class="thumb" src="<?php echo site_url("file/thumbnail/".$item["id"]); ?>"></noscript></a><!--
	<?php endforeach; ?>
	-->
</div>
</div>
<commit_msg>Increase performance of thumbnail view<commit_after><!-- Comment markers background: http://stackoverflow.com/a/14776780/953022 -->
<div class="container container-wide">
<?php
$base_url = site_url();
if (substr($base_url, -1) !== "/") {
	$base_url .= "/";
}
?>
<div class="upload_thumbnails"><!--
	<?php foreach($items as $key => $item): ?>
		--><a
			<?php if (strpos($item["mimetype"], "image/") === 0) {?>rel="gallery" class="colorbox"<?php } ?>
			data-orientation="<?php echo $item["orientation"]; ?>"
			href="<?php echo $base_url.$item["id"]."/"; ?>"
			title="<?php echo htmlentities($item["filename"]); ?>"
			data-content="<?php echo htmlentities($item["tooltip"]); ?>"
			data-id="<?php echo $item["id"]; ?>"><!--
			--><img	class="thumb lazyload"
				data-original="<?php echo $base_url."file/thumbnail/".$item["id"]; ?>"
				><!--
			--><noscript><img class="thumb" src="<?php echo $base_url."file/thumbnail/".$item["id"]; ?>"></noscript></a><!--
	<?php endforeach; ?>
	-->
</div>
</div>

{'fraction_non_alphanumeric': 0.28377645143787306, 'fraction_numerical': 0.016820401519262073, 'mean_word_length': 5.425087108013937, 'pattern_counts': {'":': 0, '<': 54, '<?xml version=': 0, '>': 56, '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': '5316736', 'n_tokens_mistral': 666, 'n_tokens_neox': 637, 'n_words': 119}