This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/scheduler.dart'; | |
| void main() { | |
| runApp(const MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| const MyApp({super.key}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HashSet check | Bloom Filter check | |
|---|---|---|
| 719610 | 562639 | |
| 737768 | 607158 | |
| 730092 | 610132 | |
| 773938 | 558105 | |
| 747718 | 576999 | |
| 771946 | 570114 | |
| 748582 | 744147 | |
| 735019 | 659500 | |
| 900041 | 703875 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HashSetByIndex | HashSet | |
|---|---|---|
| 3629561 | 4619877 | |
| 3477259 | 4562852 | |
| 3477259 | 4154912 | |
| 2403903 | 4226805 | |
| 2628835 | 3920770 | |
| 2407924 | 4676857 | |
| 3226889 | 3132388 | |
| 3335361 | 4776402 | |
| 1817651 | 4009885 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HashSet | List | Unmodifiable List | |
|---|---|---|---|
| 4619877 | 257136 | 274073 | |
| 4562852 | 241840 | 238391 | |
| 4154912 | 264096 | 237066 | |
| 4226805 | 176653 | 267829 | |
| 3920770 | 299337 | 228002 | |
| 4676857 | 376788 | 268611 | |
| 3132388 | 305172 | 235565 | |
| 4776402 | 338262 | 264673 | |
| 4009885 | 341700 | 246955 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace development; | |
| /** | |
| * | |
| * Статический класс для подключения разных БД для разных площадок, | |
| * если при этом ядро вынесено в shared-каталог. | |
| * Расчитан на то, что название площадки отражено в имени каталога сайта и отделено от остального текста точкой, | |
| * например: mysandbox.domainname.ru |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| if [ "$1" == "all" ] || [ -z "$1" ]; then | |
| if ! mount | grep /mnt/ramdisk > /dev/null; then | |
| echo "moving mysql to mem..." | |
| mount -t tmpfs -o size=2048m tmpfs /mnt/ramdisk | |
| if [ -z "$2" ]; then | |
| service mysql stop | |
| fi | |
| cp -r /var/lib/mysql /mnt/ramdisk/mysql |